package him.dto.bbs;

import java.io.Serializable;
import java.sql.Timestamp;

public class QnaDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4313575866950299876L;
	private String id;	
	private int qnaseq;
	private int ref;
	private int depth;
	private int parent;
	private int del;
	private String name;
	private String password;
	private String title;
	private String content;
	private Timestamp qna_date;

	
	public QnaDTO(){}
	
	public QnaDTO(String id, int qnaseq, int ref, int depth, int parent,
			int del, String name, String password, String title,
			String content,Timestamp qna_date,String auth) {
		super();
		this.id = id;
		this.qnaseq = qnaseq;
		this.ref = ref;
		this.depth = depth;
		this.parent = parent;
		this.del = del;
		this.name = name;
		this.password = password;
		this.title = title;
		this.content = content;
		this.qna_date = qna_date;
		
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getQnaseq() {
		return qnaseq;
	}

	public void setQnaseq(int qnaseq) {
		this.qnaseq = qnaseq;
	}

	public int getRef() {
		return ref;
	}

	public void setRef(int ref) {
		this.ref = ref;
	}

	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public int getParent() {
		return parent;
	}

	public void setParent(int parent) {
		this.parent = parent;
	}

	public int getDel() {
		return del;
	}

	public void setDel(int del) {
		this.del = del;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	
	
	public Timestamp getQna_date() {
		return qna_date;
	}

	public void setQna_date(Timestamp qnaDate) {
		qna_date = qnaDate;
	}
	
	
	
	@Override
	public String toString() {
		return "QnaDTO [content=" + content + ", del=" + del + ", depth="
				+ depth + ", id=" + id + ", name=" + name + ", parent="
				+ parent + ", password=" + password + ", qna_date=" + qna_date
				+ ", qnaseq=" + qnaseq + ", ref=" + ref + ", title=" + title
				+ "]";
	}
	
	
}
